import request from '@/plugins/login-request'

/* 菜单权限配置接口 */
export const getMenu = (data) => request({ url: '/usercenter/web/login/getMenu', method: 'post', data })
/*  按钮权限配置 */
export const getBtn = (data) => request({ url: '/usercenter/web/login/getBtn', method: 'post',data })

/* 全量菜单权限配置接口 */
export const getAllMenu = (data) => request({ url: '/usercenter/web/menu/getAllMenu', method: 'post', data })

/* 登录接口 - 获取平台所有按钮 */
export const getSystemBtnsList = (data,channelId)  => request({ url: '/usercenter/web/menu/selectBtnByChannel?channelId='+channelId, method: 'get', data })
